package Grammar;

/**
 * @author shkstart
 * @date 2022/3/27 - 21:52
 */
public class Boolean {
    public static void main(String[] args) {
//        boolean 类型 用 true / false 表示真假
        boolean b1 = true;
        System.out.println("b1 = " + b1);
        boolean isMarried = true;
        if (isMarried) {
            System.out.println("你不是\"单身\"");
        } else {
            System.out.println("你是单身");
        }
    }
}
